home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Maximum CD 2012 March
/
maximum-cd-2012-03.iso
/
DiscContents
/
teracopy.exe
/
{app}
/
PowerOff.cmd
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2011-10-26
|
279 b
|
9 lines
@ECHO OFF
ECHO System will be turned off automatically in 5 minutes. Press N to cancel.
ECHO.
CHOICe /M "Shutdown" /C YN /T 300 /D Y
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 SHUTDOWN -s -t 60
IF ERRORLEVEL 2 ECHO Shutdown cancelled
REM Wait 2 sec
CHOICE /C AB /T 2 /D A > NUL